package com.kmt.plaza.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 关联product和product_img
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ShoppingCartVO implements Serializable {

    private Integer cartId;
    private String productId;
    private Integer skuId;
    private String userId;
    private String cartNum;
    private String cartTime;
    private BigDecimal productPrice;
    private String skuProps;
    //商品图片地址
    private String productImg;
    //商品名称
    private String productName;
    private double originalPrice;
    private double sellPrice;
    private String skuName;
    //库存
    private Integer stock;
}